import React, { useState } from 'react'
import {View, Text, Input, Image, Textarea, Span, Button} from '@tarojs/components'
import PageWrapper from '@/components/PageWrapper'
import './index.scss';
import {navigateTo} from "@/utils/navigation";
const Page = () => {
  const items = [1, 2, 3]
  return (
    <PageWrapper title="入仓操作" showBack={true} backgroundColor='#FE7407' color="#ffffff">
      <View className="my-service-page">
        <View className="my-service"></View>
        <View className="box">
          <View className="warehouse">
            <View className="row-box">
              <View className="row"><Text className="label">订单编号</Text><Text className="value">2290023843944107980</Text></View>
              <View className="row"><Text className="label">需求鉴别单号</Text><Text className="value">12312312312</Text></View>
              <View className="row"><Text className="label">物流单号</Text><Text className="value">3123123123123</Text></View>
            </View>

            {items.map((_, index) => (
              <View key={index} className="card item-card">
                <View className="item-info">
                  <Image className="item-img" src={require(`../../../assets/photo.png`)}/>
                  <View className="item-text">
                    <View className="black">汾酒封坛15年老白汾53度475ML清香型</View>
                    <View className="grey">规格描述:2022年;颇色分类:单瓶装</View>
                    <View className="orange">状态:待入库</View>
                  </View>

                </View>
                <View className="btn-row">
                  <View className="btn gray-btn" >备注</View>
                  <View className="btn gray-btn" onClick={() => navigateTo('/pages/user/exchange-goods/index')}>换货</View>
                  <View className="btn orange-btn">入库</View>
                </View>
              </View>
            ))}
          </View>

          <View className="submit-box">
            <View className="submit-but">一键入库</View>
          </View>

        </View>
      </View>
    </PageWrapper>
  )
}

export default Page
